package com.ruoyi.project.system.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 公司申请提现对象 sys_cash
 * 
 * @author jjp
 * @date 2020-04-26
 */
public class SysCash extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long cashId;

    /** 银行卡id */
    @ApiModelProperty(name = "银行卡id")
    private Long bankId;

    /** $column.columnComment */
    @ApiModelProperty(name = "用户id")
    private Long deptId;

    /** 实际到账金额 */
    @ApiModelProperty(name = "实际到账金额")
    private Double factMoney;

    /** 申请提现金额 */
    @ApiModelProperty(name = "申请提现金额")
    private Double money;

    /** 提现审核状态 0-待审核 1-审核成功 2-审核失败 */
    @ApiModelProperty(name = "提现审核状态 0-待审核 1-审核成功 2-审核失败")
    private String withdrawalStatus;

    /** 审核失败原因 */
    @ApiModelProperty(name = "审核失败原因")
    private String reason;

    /** $column.columnComment */
    private Date createTime2;

    private Double exchange;

    private  String deptName;

    public void setCashId(Long cashId) 
    {
        this.cashId = cashId;
    }

    public Long getCashId() 
    {
        return cashId;
    }
    public void setBankId(Long bankId) 
    {
        this.bankId = bankId;
    }

    public Long getBankId() 
    {
        return bankId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }


    public void setWithdrawalStatus(String withdrawalStatus)
    {
        this.withdrawalStatus = withdrawalStatus;
    }

    public String getWithdrawalStatus() 
    {
        return withdrawalStatus;
    }

    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setCreateTime2(Date createTime2) 
    {
        this.createTime2 = createTime2;
    }

    public Date getCreateTime2() {
        return createTime2;
    }

    public Double getFactMoney() {
        return factMoney;
    }

    public void setFactMoney(Double factMoney) {
        this.factMoney = factMoney;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Double getExchange() {
        return exchange;
    }

    public void setExchange(Double exchange) {
        this.exchange = exchange;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
}
